package com.eastfair.venuebooking.service;

import com.eastfair.pay.dto.TransactionOrderDTO;

/**
 * 支付系统交易订单 service.
 *
 * @author dqq
 * @date 2023 /3/23
 */
public interface VenueBookingTransactionOrderService {

    /**
     * 保存更新交易记录
     *
     * @param transactionOrderDTO the transaction order dto
     * @return r
     */
    boolean save(TransactionOrderDTO transactionOrderDTO);

    /**
     * 更新交易订单
     *
     * @param transactionOrderDTO the transaction order dto
     * @return boolean
     */
    boolean update(TransactionOrderDTO transactionOrderDTO);

    /**
     * 取消交易订单
     *
     * @param orderNum the order num
     * @return boolean
     */
    boolean cancel(String orderNum);
}